package cn.shyouchi.wuguanjia.android.ui.event.proprietor;

import java.util.List;

import cn.shyouchi.wuguanjia.android.base.BasePresenter;
import cn.shyouchi.wuguanjia.android.base.BaseView;
import cn.shyouchi.wuguanjia.android.model.OwnerEntity;

/**
 * Created by Eenie on 2016/10/26 at 10:39
 * Email: 472279981@qq.com
 * Des:
 */

public interface ProprietorInfoContract {

    interface View extends BaseView {
        void onOwnersRefresh(List<OwnerEntity.ProprietorBean> proprietors);

        void onItemClick(OwnerEntity.ProprietorBean proprietor);

        void onDelClick(OwnerEntity.ProprietorBean proprietor);
    }

    interface Presenter extends BasePresenter<View> {

        void getOwners(String projectId);


        void delOwner(String projectId, String id);

    }
}
